package com.lzk.model.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lzk.model.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor

@TableName("sys_product")
public class SysProduct extends BaseEntity {


    @ApiModelProperty(value = "产品名称")
    @TableField("product_name")
    private String pName;

    @ApiModelProperty(value = "产品图片路径")
    @TableField("product_image")
    private String pImage;

    @ApiModelProperty(value = "产品种类")
    @TableField("product_type")
    private Integer pType;

    @ApiModelProperty(value = "产品介绍")
    @TableField("product_description")
    private String pdescription;

    @TableField(exist = false)
    private String  roleName;
}
